
<!DOCTYPE html>

<html>
  <head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Index &#8212; DAAM v0.0.4 documentation</title>
    <link rel="stylesheet" type="text/css" href="_static/pygments.css" />
    <link rel="stylesheet" type="text/css" href="_static/alabaster.css" />
    <script data-url_root="./" id="documentation_options" src="_static/documentation_options.js"></script>
    <script src="_static/jquery.js"></script>
    <script src="_static/underscore.js"></script>
    <script src="_static/doctools.js"></script>
    <link rel="index" title="Index" href="#" />
    <link rel="search" title="Search" href="search.html" />
   
  <link rel="stylesheet" href="_static/custom.css" type="text/css" />
  
  
  <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" />

  </head><body>
  

    <div class="document">
      <div class="documentwrapper">
        <div class="bodywrapper">
          

          <div class="body" role="main">
            

<h1 id="index">Index</h1>

<div class="genindex-jumpbox">
 <a href="#A"><strong>A</strong></a>
 | <a href="#B"><strong>B</strong></a>
 | <a href="#C"><strong>C</strong></a>
 | <a href="#D"><strong>D</strong></a>
 | <a href="#E"><strong>E</strong></a>
 | <a href="#G"><strong>G</strong></a>
 | <a href="#H"><strong>H</strong></a>
 | <a href="#I"><strong>I</strong></a>
 | <a href="#L"><strong>L</strong></a>
 | <a href="#M"><strong>M</strong></a>
 | <a href="#N"><strong>N</strong></a>
 | <a href="#O"><strong>O</strong></a>
 | <a href="#P"><strong>P</strong></a>
 | <a href="#R"><strong>R</strong></a>
 | <a href="#S"><strong>S</strong></a>
 | <a href="#T"><strong>T</strong></a>
 | <a href="#U"><strong>U</strong></a>
 
</div>
<h2 id="A">A</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.hook.AggregateHooker">AggregateHooker (class in daam.hook)</a>
</li>
      <li><a href="daam.html#daam.trace.DiffusionHeatMapHooker.all_heat_maps">all_heat_maps (daam.trace.DiffusionHeatMapHooker property)</a>
</li>
  </ul></td>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.experiment.GenerationExperiment.annotate">annotate() (daam.experiment.GenerationExperiment method)</a>
</li>
      <li><a href="daam.html#daam.experiment.GenerationExperiment.annotations">annotations (daam.experiment.GenerationExperiment attribute)</a>
</li>
  </ul></td>
</tr></table>

<h2 id="B">B</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.experiment.build_word_list_coco80">build_word_list_coco80() (in module daam.experiment)</a>
</li>
  </ul></td>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.run.html#daam.run.generate.build_word_list_large">build_word_list_large() (in module daam.run.generate)</a>
</li>
  </ul></td>
</tr></table>

<h2 id="C">C</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.experiment.GenerationExperiment.clear_prediction_masks">clear_prediction_masks() (daam.experiment.GenerationExperiment method)</a>
</li>
      <li><a href="daam.html#daam.trace.DiffusionHeatMapHooker.compute_global_heat_map">compute_global_heat_map() (daam.trace.DiffusionHeatMapHooker method)</a>
</li>
      <li><a href="daam.html#daam.evaluate.compute_iou">compute_iou() (in module daam.evaluate)</a>
</li>
  </ul></td>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.utils.compute_token_merge_indices">compute_token_merge_indices() (in module daam.utils)</a>
</li>
      <li><a href="daam.html#daam.trace.HeatMap.compute_word_heat_map">compute_word_heat_map() (daam.trace.HeatMap method)</a>

      <ul>
        <li><a href="daam.html#daam.trace.MmDetectHeatMap.compute_word_heat_map">(daam.trace.MmDetectHeatMap method)</a>
</li>
      </ul></li>
      <li><a href="daam.html#daam.experiment.GenerationExperiment.contains_truth_mask">contains_truth_mask() (daam.experiment.GenerationExperiment static method)</a>
</li>
  </ul></td>
</tr></table>

<h2 id="D">D</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li>
    daam

      <ul>
        <li><a href="daam.html#module-daam">module</a>
</li>
      </ul></li>
      <li>
    daam.evaluate

      <ul>
        <li><a href="daam.html#module-daam.evaluate">module</a>
</li>
      </ul></li>
      <li>
    daam.experiment

      <ul>
        <li><a href="daam.html#module-daam.experiment">module</a>
</li>
      </ul></li>
      <li>
    daam.hook

      <ul>
        <li><a href="daam.html#module-daam.hook">module</a>
</li>
      </ul></li>
      <li>
    daam.run

      <ul>
        <li><a href="daam.run.html#module-daam.run">module</a>
</li>
      </ul></li>
      <li>
    daam.run.annotate

      <ul>
        <li><a href="daam.run.html#module-daam.run.annotate">module</a>
</li>
      </ul></li>
      <li>
    daam.run.daam_to_mask

      <ul>
        <li><a href="daam.run.html#module-daam.run.daam_to_mask">module</a>
</li>
      </ul></li>
  </ul></td>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li>
    daam.run.evaluate

      <ul>
        <li><a href="daam.run.html#module-daam.run.evaluate">module</a>
</li>
      </ul></li>
      <li>
    daam.run.filter_coco

      <ul>
        <li><a href="daam.run.html#module-daam.run.filter_coco">module</a>
</li>
      </ul></li>
      <li>
    daam.run.generate

      <ul>
        <li><a href="daam.run.html#module-daam.run.generate">module</a>
</li>
      </ul></li>
      <li>
    daam.run.test_literacy

      <ul>
        <li><a href="daam.run.html#module-daam.run.test_literacy">module</a>
</li>
      </ul></li>
      <li>
    daam.run.test_numeracy

      <ul>
        <li><a href="daam.run.html#module-daam.run.test_numeracy">module</a>
</li>
      </ul></li>
      <li>
    daam.trace

      <ul>
        <li><a href="daam.html#module-daam.trace">module</a>
</li>
      </ul></li>
      <li>
    daam.utils

      <ul>
        <li><a href="daam.html#module-daam.utils">module</a>
</li>
      </ul></li>
      <li><a href="daam.html#daam.trace.DiffusionHeatMapHooker">DiffusionHeatMapHooker (class in daam.trace)</a>
</li>
  </ul></td>
</tr></table>

<h2 id="E">E</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.utils.expand_image">expand_image() (in module daam.utils)</a>
</li>
  </ul></td>
</tr></table>

<h2 id="G">G</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.experiment.GenerationExperiment">GenerationExperiment (class in daam.experiment)</a>
</li>
  </ul></td>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.experiment.GenerationExperiment.global_heat_map">global_heat_map (daam.experiment.GenerationExperiment attribute)</a>
</li>
  </ul></td>
</tr></table>

<h2 id="H">H</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.experiment.GenerationExperiment.has_annotations">has_annotations() (daam.experiment.GenerationExperiment static method)</a>
</li>
      <li><a href="daam.html#daam.experiment.GenerationExperiment.has_experiment">has_experiment() (daam.experiment.GenerationExperiment static method)</a>
</li>
  </ul></td>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.trace.HeatMap">HeatMap (class in daam.trace)</a>
</li>
      <li><a href="daam.html#daam.hook.ObjectHooker.hook">hook() (daam.hook.ObjectHooker method)</a>
</li>
  </ul></td>
</tr></table>

<h2 id="I">I</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.experiment.GenerationExperiment.id">id (daam.experiment.GenerationExperiment attribute)</a>
</li>
  </ul></td>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.experiment.GenerationExperiment.image">image (daam.experiment.GenerationExperiment attribute)</a>
</li>
  </ul></td>
</tr></table>

<h2 id="L">L</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.experiment.GenerationExperiment.load">load() (daam.experiment.GenerationExperiment class method)</a>
</li>
      <li><a href="daam.html#daam.hook.ModuleLocator.locate">locate() (daam.hook.ModuleLocator method)</a>

      <ul>
        <li><a href="daam.html#daam.hook.UNetCrossAttentionLocator.locate">(daam.hook.UNetCrossAttentionLocator method)</a>
</li>
      </ul></li>
  </ul></td>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.evaluate.MeanEvaluator.log_intensity">log_intensity() (daam.evaluate.MeanEvaluator method)</a>
</li>
      <li><a href="daam.html#daam.evaluate.MeanEvaluator.log_iou">log_iou() (daam.evaluate.MeanEvaluator method)</a>
</li>
  </ul></td>
</tr></table>

<h2 id="M">M</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.run.html#daam.run.annotate.main">main() (in module daam.run.annotate)</a>

      <ul>
        <li><a href="daam.run.html#daam.run.daam_to_mask.main">(in module daam.run.daam_to_mask)</a>
</li>
        <li><a href="daam.run.html#daam.run.evaluate.main">(in module daam.run.evaluate)</a>
</li>
        <li><a href="daam.run.html#daam.run.filter_coco.main">(in module daam.run.filter_coco)</a>
</li>
        <li><a href="daam.run.html#daam.run.generate.main">(in module daam.run.generate)</a>
</li>
        <li><a href="daam.run.html#daam.run.test_literacy.main">(in module daam.run.test_literacy)</a>
</li>
        <li><a href="daam.run.html#daam.run.test_numeracy.main">(in module daam.run.test_numeracy)</a>
</li>
      </ul></li>
      <li><a href="daam.html#daam.evaluate.MeanEvaluator.mean_intensity">mean_intensity (daam.evaluate.MeanEvaluator property)</a>
</li>
      <li><a href="daam.html#daam.evaluate.MeanEvaluator.mean_iou">mean_iou (daam.evaluate.MeanEvaluator property)</a>
</li>
      <li><a href="daam.html#daam.evaluate.MeanEvaluator">MeanEvaluator (class in daam.evaluate)</a>
</li>
      <li><a href="daam.html#daam.trace.MmDetectHeatMap">MmDetectHeatMap (class in daam.trace)</a>
</li>
      <li>
    module

      <ul>
        <li><a href="daam.html#module-daam">daam</a>
</li>
        <li><a href="daam.html#module-daam.evaluate">daam.evaluate</a>
</li>
        <li><a href="daam.html#module-daam.experiment">daam.experiment</a>
</li>
        <li><a href="daam.html#module-daam.hook">daam.hook</a>
</li>
        <li><a href="daam.run.html#module-daam.run">daam.run</a>
</li>
        <li><a href="daam.run.html#module-daam.run.annotate">daam.run.annotate</a>
</li>
        <li><a href="daam.run.html#module-daam.run.daam_to_mask">daam.run.daam_to_mask</a>
</li>
        <li><a href="daam.run.html#module-daam.run.evaluate">daam.run.evaluate</a>
</li>
        <li><a href="daam.run.html#module-daam.run.filter_coco">daam.run.filter_coco</a>
</li>
        <li><a href="daam.run.html#module-daam.run.generate">daam.run.generate</a>
</li>
        <li><a href="daam.run.html#module-daam.run.test_literacy">daam.run.test_literacy</a>
</li>
        <li><a href="daam.run.html#module-daam.run.test_numeracy">daam.run.test_numeracy</a>
</li>
        <li><a href="daam.html#module-daam.trace">daam.trace</a>
</li>
        <li><a href="daam.html#module-daam.utils">daam.utils</a>
</li>
      </ul></li>
  </ul></td>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.hook.ModuleLocator">ModuleLocator (class in daam.hook)</a>
</li>
      <li><a href="daam.html#daam.hook.ObjectHooker.monkey_patch">monkey_patch() (daam.hook.ObjectHooker method)</a>
</li>
      <li><a href="daam.html#daam.hook.ObjectHooker.monkey_super">monkey_super() (daam.hook.ObjectHooker method)</a>
</li>
  </ul></td>
</tr></table>

<h2 id="N">N</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.experiment.GenerationExperiment.nsfw">nsfw() (daam.experiment.GenerationExperiment method)</a>
</li>
  </ul></td>
</tr></table>

<h2 id="O">O</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.hook.ObjectHooker">ObjectHooker (class in daam.hook)</a>
</li>
  </ul></td>
</tr></table>

<h2 id="P">P</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.experiment.GenerationExperiment.path">path (daam.experiment.GenerationExperiment attribute)</a>
</li>
      <li><a href="daam.html#daam.utils.plot_mask_heat_map">plot_mask_heat_map() (in module daam.utils)</a>
</li>
  </ul></td>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.utils.plot_overlay_heat_map">plot_overlay_heat_map() (in module daam.utils)</a>
</li>
      <li><a href="daam.html#daam.experiment.GenerationExperiment.prediction_masks">prediction_masks (daam.experiment.GenerationExperiment attribute)</a>
</li>
      <li><a href="daam.html#daam.experiment.GenerationExperiment.prompt">prompt (daam.experiment.GenerationExperiment attribute)</a>
</li>
  </ul></td>
</tr></table>

<h2 id="R">R</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.experiment.GenerationExperiment.read_prompt">read_prompt() (daam.experiment.GenerationExperiment static method)</a>
</li>
  </ul></td>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.experiment.GenerationExperiment.read_seed">read_seed() (daam.experiment.GenerationExperiment static method)</a>
</li>
      <li><a href="daam.html#daam.hook.AggregateHooker.register_hook">register_hook() (daam.hook.AggregateHooker method)</a>
</li>
  </ul></td>
</tr></table>

<h2 id="S">S</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.experiment.GenerationExperiment.save">save() (daam.experiment.GenerationExperiment method)</a>
</li>
      <li><a href="daam.html#daam.experiment.GenerationExperiment.save_annotations">save_annotations() (daam.experiment.GenerationExperiment method)</a>
</li>
      <li><a href="daam.html#daam.experiment.GenerationExperiment.save_heat_map">save_heat_map() (daam.experiment.GenerationExperiment method)</a>
</li>
  </ul></td>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.experiment.GenerationExperiment.save_prediction_mask">save_prediction_mask() (daam.experiment.GenerationExperiment method)</a>
</li>
      <li><a href="daam.html#daam.experiment.GenerationExperiment.seed">seed (daam.experiment.GenerationExperiment attribute)</a>
</li>
      <li><a href="daam.html#daam.utils.set_seed">set_seed() (in module daam.utils)</a>
</li>
  </ul></td>
</tr></table>

<h2 id="T">T</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.trace.trace">trace (in module daam.trace)</a>
</li>
  </ul></td>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.experiment.GenerationExperiment.truth_masks">truth_masks (daam.experiment.GenerationExperiment attribute)</a>
</li>
  </ul></td>
</tr></table>

<h2 id="U">U</h2>
<table style="width: 100%" class="indextable genindextable"><tr>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.hook.UNetCrossAttentionLocator">UNetCrossAttentionLocator (class in daam.hook)</a>
</li>
  </ul></td>
  <td style="width: 33%; vertical-align: top;"><ul>
      <li><a href="daam.html#daam.hook.ObjectHooker.unhook">unhook() (daam.hook.ObjectHooker method)</a>
</li>
  </ul></td>
</tr></table>



          </div>
          
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarwrapper">
<h1 class="logo"><a href="index.html">DAAM</a></h1>








<h3>Navigation</h3>

<div class="relations">
<h3>Related Topics</h3>
<ul>
  <li><a href="index.html">Documentation overview</a><ul>
  </ul></li>
</ul>
</div>
<div id="searchbox" style="display: none" role="search">
  <h3 id="searchlabel">Quick search</h3>
    <div class="searchformwrapper">
    <form class="search" action="search.html" method="get">
      <input type="text" name="q" aria-labelledby="searchlabel" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false"/>
      <input type="submit" value="Go" />
    </form>
    </div>
</div>
<script>$('#searchbox').show(0);</script>








        </div>
      </div>
      <div class="clearer"></div>
    </div>
    <div class="footer">
      &copy;2022.
      
      |
      Powered by <a href="http://sphinx-doc.org/">Sphinx 4.5.0</a>
      &amp; <a href="https://github.com/bitprophet/alabaster">Alabaster 0.7.12</a>
      
    </div>

    

    
  </body>
</html>